package com.chalk.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.chalk.model.Ticket;
import com.chalk.model.TicketOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author glq
 * @since 2020-12-24
 */

public interface TicketOrderDao extends BaseMapper<TicketOrder> {
    /**
     * 小程序-获取我的订单分页
     * @param page
     * @param map
     * @return
     */
    List<TicketOrder> getMyTicketOrdersForPage(Page<TicketOrder> page, @Param("param") Map<String,Object>map);
}
